@import "Reset";

@mixin clearfix {
  &:after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    line-height: 0;
    overflow: hidden;
  }
  *height: 1%;
}

html, body {
  width: 100%;
  height: 100%;
}

$cloor: #333;
$fc: #fff;
.main {
  width: 1200px;
  margin: 0 auto;
}

header {
  @include clearfix;

  .topbar {
    width: 100%;
    background: $cloor;
    font-size: 12px;
    color: $fc;

    .area-center {
      @include clearfix;

      .bar-left {
        float: left;

        ul {
          @include clearfix;

          li {
            float: left;
            height: 32px;
            line-height: 32px;
            margin-left: 10px;
          }
        }
      }

      .bar-right {
        float: right;

        ul {
          @include clearfix;

          li {
            float: left;
            height: 40px;
            line-height: 32px;
            margin-left: 10px;
          }

          .self {
            position: relative;

            ul {
              position: absolute;
              top: 40px;
              display: none;
            }

            &:hover {
              background: white;
              color: #2884c7;

              ul {
                display: block;
                background: #ffffff;
                width: 60px;
              }
            }
          }

          .phone {
            position: relative;

            div {
              position: absolute;
              top: 40px;
              display: none;
              width: 120px;
              height: 80px;
              background: #ffffff;

              img {
                display: block;

                margin: 0 auto;
              }
            }

            &:hover {
              background: white;
              color: #2884c7;

              div {
                display: block;
              }
            }


          }

        }
      }
    }

  }

  .main-head {
    @include clearfix;
    .area-center {
      @include clearfix;
      .mall-logo {
        float: left;
      }

      .main-search {
        float: left;
        margin-top: 40px;
        @include clearfix;
        input {
          display: block;
          float: left;
          width: 450px;
          border: 2px solid #2884c7;
          height: 36px;
          line-height: 36px;
          padding: 0 0 0 12px;
          margin: 0;
          outline: 0;
          font-size: 14px;
        }

        button {
          display: block;
          float: left;
          width: 134px;
          height: 40px;
          background: #2884c7;
          font-size: 18px;
          color: $fc;
          text-align: center;
          border: 0;
          outline: 0;
          cursor: pointer;
        }
      }

      .top-cart {
        margin-left: 40px;
        margin-top: 38px;
        float: left;
      }
    }
  }

  .tapbar {
    width: 100%;
    border-bottom: 5px solid #151515;

    .tab-main {
      @include clearfix;

      .tbl {
        float: left;

        ul {
          li {
            float: left;
            font-size: 17px;
            width: 100px;
            height: 30px;
            line-height: 30px;
            margin-right: 10px;
          }

          .theone {
            width: 150px;
            height: 30px;
            line-height: 30px;
            background: #151515;
            color: #ffffff;
            text-align: center;
            position: relative;
            .menu {
              position: absolute;
              z-index: 1000;
              display: none;
              ul {
                li {
                  background: #333;
                  height: (420px/7);
                  width: 196px;
                  color: $fc;
                  line-height: (420px/7);
                }
              }
            }
            .caidan0 {
              position: absolute;
              top: 30px;
              left: 197px;
              width: 1200px - 198;
              height: 420px;
              background: #ffffff;
              color: #151515;
              z-index: 200;
              display: none;
              .list1 {
                float: left;
                li {
                  float: none;
                  margin-left: 20px;
                  height: 60px;
                  width: 80px;
                  text-align: center;
                  line-height: 60px;
                  font-weight: bold;
                }
              }

              .list2 {
                float: left;

                li {
                  float: none;
                  margin-left: 20px;
                  height: 60px;
                  width: 80px;
                  text-align: center;
                  line-height: 60px;
                  font-weight: bold;
                }
              }

              .list3 {
                float: left;

                li {
                  float: none;
                  margin-left: 20px;
                  height: 60px;
                  width: 80px;
                  text-align: center;
                  line-height: 60px;
                  font-weight: bold;
                }
              }

              .list4 {
                img {
                  display: block;
                  margin-left: 20px;
                }

              }
            }

            .caidan1 {
              position: absolute;
              top: 30px;
              left: 197px;
              color: #151515;
              width: 1200px - 198;
              height: 420px;
              background: #ffffff;
              z-index: 200;
              display: none;

              .list1 {
                float: left;

                li {
                  float: none;
                  margin-left: 20px;
                  height: 60px;
                  width: 80px;
                  text-align: center;
                  line-height: 60px;
                  font-weight: bold;
                }
              }

              .list2 {
                float: left;

                li {
                  float: none;
                  margin-left: 20px;
                  height: 60px;
                  width: 80px;
                  text-align: center;
                  line-height: 60px;
                  font-weight: bold;
                }
              }

              .list3 {
                float: left;

                li {
                  float: none;
                  margin-left: 20px;
                  height: 60px;
                  width: 80px;
                  text-align: center;
                  line-height: 60px;
                  font-weight: bold;
                }
              }

              .list4 {
                img {
                  display: block;
                  margin-left: 20px;
                }

              }
            }
          }
        }
      }

      .tbr {
        float: right;
        position: relative;

        img {
          display: block;
          position: absolute;
          left: -27px;
          top: -2px;
        }
      }
    }
  }

  .bread_nav {
    margin-top: 15px;

    ul {
      @include clearfix;

      li {
        float: left;
        position: relative;
        margin-right: 20px;

        span {
          position: absolute;
          top: -3px;
          left: 35px;

          img {
            display: block;
          }
        }

        .next {
          left: 68px;
        }
      }
    }
  }

  .product {
    @include clearfix;
    margin-top: 20px;

    .gellary {
      @include clearfix;
      float: left;

      .smllimg {
        width: 400px;
        position: relative;
        border: 1px solid #acabab;

        img {
          display: block;
          width: 400px;
          height: 400px;
        }

        .smallarea {
          height: 200px;
          width: 200px;
          position: absolute;
          background: rgba(229, 223, 223, 0.3);
          left: 0;
          top: 0;
          display: none;
        }
      }

      .pic {
        margin-top: 15px;
        display: flex;

        .picimg {
          ul {
            @include clearfix;
            .br{
              border: 1px solid #ed1c24;
            }
            li {
              border: 1px solid #acabab;
              float: left;
              margin: 0 10px;

              img {
                display: block;
                width: 70px;
                height: 70px;
              }
            }
          }
        }

        .tol {
          color: #acabab;
          font-size: 30px;
          text-align: center;
          line-height: 72px;
        }

        .tor {
          color: #acabab;
          font-size: 30px;
          text-align: center;
          line-height: 72px;
        }
      }
    }

    .bigarea {
      position: absolute;
      height: 400px;
      width: 400px;
      border: 1px solid #acabab;
      left: 570px;
      overflow: hidden;
      display: none;
      z-index: 100;

      .bigimg {
        position: absolute;
        width: 800px;
        height: 800px;
        left: 0;
        top: 0;

        img {
          display: block;
        }
      }
    }


    .attr {
      @include clearfix;
      width: 720px;
      margin-left: 10px;
      float: right;

      .attle {
        font-size: 20px;
        color: #000000;
        padding-bottom: 10px;
        line-height: 30px;
      }

      .slog {
        width: auto;
        font-size: 14px;
        text-indent: 12px;
        color: #000000;
        line-height: 14px;
        float: left;
        padding: 0 10px 10px 0;
      }

      .price {
        width: 720px;
        height: 42px;
        margin-bottom: 6px;
        margin-top: 27px;
        background: #f2f2f2;
        line-height: 42px;
        .jiage {
          //line-height: 42px;
          font-size: 12px;
          width: 60px;
          color: #888888;
          margin-right: 11px;
          padding-left: 12px;
          text-indent: 0;
        }

        .jg {
          font-size: 18px;
          color: #C80000;

        }

        i {
          //float: right;
          margin-left: 200px;
          display: inline-block;
          width: 100px;
          height: 12px;
          background: url("../imgs/dimg/46058368591538067.jpg") no-repeat 0 0;
        }
      }

      .place {
        //height: 720px;
        @include clearfix;
        margin-bottom: 10px;

        .ps {
          float: left;
          height: 20px;
          line-height: 20px;
          font-size: 12px;
          width: 60px;
          color: #888888;
          margin-right: 11px;
          padding-left: 12px;
          text-indent: 0;
        }

        .site {
          float: left;
          font-size: 12px;

          .xianh {
            font-size: 12px;
            line-height: 20px;
            padding-bottom: 0;

            .rx {
              color: #ff8c00;
              padding-right: 10px;
            }
          }
        }

      }

      .color {
        width: 720px;
        @include clearfix;

        .ct {
          text-indent: 12px;
          float: left;
          width: 72px;
          height: 34px;
          line-height: 34px;
          vertical-align: top;
          font-size: 12px;
          color: #888888;
          overflow: hidden;
          white-space: nowrap;
          margin-right: 15px;
        }

        .cc {
          font-size: 14px;
          width: 46px;
          height: 26px;
          float: left;
          text-align: center;
          line-height: 26px;
          border: 1px solid #d70000;
          border-radius: 5px;
          color: #f01e00;
        }

      }

      .count {
        width: 720px;
        margin-top: 5px;
        margin-bottom: 5px;
        position: relative;
        line-height: 42px;
        @include clearfix;
        background: #f2f2f2;
        .czl {
          text-indent: 12px;
          float: left;
          width: 72px;
          height: 42px;
          line-height: 42px;
          vertical-align: top;
          font-size: 12px;
          color: #888888;
          overflow: hidden;
          white-space: nowrap;
          margin-right: 15px;
        }

        .register {
          position: absolute;
          left: 86px;
          top: 5px;
          text-align: center;
          line-height: 30px;
          border: 1px solid #cecece;
          width: 60px;

          a {
            display: inline-block;
            text-decoration: none;
          }

          input {
            display: inline-block;
            line-height: 30px;
            width: 25px;
            height: 30px;
            border: none;
            background: none;
            text-align: center;
          }
        }
      }

      .inall {
        @include clearfix;
        //height: 40px;
        div {
          margin-left: 12px;
          font-size: 12px;
          color: #888888;
          padding-right: 28px;
          float: left;
          line-height: 40px;
        }

        .pay {
          border: 0;
          margin: 0;
          padding: 0;
          font-size: 100%;
          margin-left: 40px;
          color: #f01e00;
          line-height: 40px;
        }

        .join {
          float: left;
          color: #fff;
          margin-left: 200px;
          display: block;
          width: 100px;
          height: 40px;
          text-align: center;
          line-height: 40px;
          background: #f01e00;
          text-decoration: none;

          span {
            height: 100%;
            width: 100%;
          }
        }
      }
    }

  }
}

.tab {
  margin-top: 20px;
  .tab1 {
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
    margin-bottom: 10px;
    width: 100%;
    background: #ffffff;
    //height: 100%;
    @include clearfix;

    .ltop {

      ul {
        @include clearfix;

        li {
          float: left;
          width: 120px;
          height: 50px;
          text-align: center;
          line-height: 50px;
          .zshow {
            display: inline-block;
            height: 46px;
            border-bottom: 3px solid #f01e00;
            color: #d70000;;
          }
        }
        .lastli{
          float: right;
          color: #fff;

          height: 50px;
          width: 100px;
          background: #ed1c24;
          display: none;
        }

      }
    }
  }

  .ldown{
    ul{
      li{
        display: none;
      }
      .lshow{
        display: block;
      }
    }
  }
}
.le-foot {
  background:#f2f2f2;
  ul {
    @include clearfix;

    li {
      float: left;
      margin-left: 100px;
    }
  }
}
footer {
  background: #151515;
}